//package com.nuoyan.gateway.interceptor;
//
//import org.springframework.stereotype.Component;
//import org.springframework.web.server.ServerWebExchange;
//import org.springframework.web.server.WebFilter;
//import org.springframework.web.server.WebFilterChain;
//import reactor.core.publisher.Mono;
//
//@Component
//public class CustomInterceptor implements WebFilter {
//
//    @Override
//    public Mono<Void> filter(ServerWebExchange exchange, WebFilterChain chain) {
//        // 记录请求日志
//        System.out.println("Request Path: " + exchange.getRequest().getPath());
//        System.out.println("Request Method: " + exchange.getRequest().getMethod());
//
//        // 继续执行后续过滤器
//        return chain.filter(exchange);
//    }
//}